runtime.schedt.needspinning (field)
6 uses
runtime (current package)
proc.go#L875: sched.needspinning.Store(0)
proc.go#L2681: sched.needspinning.Store(0)
proc.go#L3072: if !mp.spinning && sched.needspinning.Load() == 1 {
proc.go#L5805: print("SCHED ", (now-starttime)/1e6, "ms: gomaxprocs=", gomaxprocs, " idleprocs=", sched.npidle.Load(), " threads=", mcount(), " spinningthreads=", sched.nmspinning.Load(), " needspinning=", sched.needspinning.Load(), " idlethreads=", sched.nmidle, " runqueue=", sched.runqsize)
proc.go#L6159: sched.needspinning.Store(1)
runtime2.go#L797: needspinning atomic.Uint32 // See "Delicate dance" comment in proc.go. Boolean. Must hold sched.lock to set to 1.
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |